﻿
using BCCommon;
using BCCommon.Enums;
using BCData.Common.Business.WebsiteBusinessTagcode;
using BCDto.Common.Business.WebsiteBusinessTagcode;
using BCDto.Sim.Admin.Admin;
using BCEntity.Common.Business.WebsiteBusinessTagcode;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.Common.Business.WebsiteBusinessTagcode
{
    /// <summary>
    /// 官网业务标记码
    /// </summary>
    public interface IWebsiteBusinessTagcodeService
    {
        #region  成员方法
        /// <summary>
        /// 是否存在此记录
        /// </summary>
        /// <param name="websiteBusinessTagcode">官网业务标记码</param>
        bool Exists(string websiteBusinessTagcode);
        /// <summary>
        /// 添加官网业务标记码
        /// </summary>
        /// <param name="requestDto">官网业务标记码信息</param>
        /// <param name="adminDto">管理员信息</param>
        WebsiteBusinessTagcodeDto Add(WebsiteBusinessTagcodeRequestDto requestDto, AdminDto adminDto);
        /// <summary>
        /// 更新官网业务标记码
        /// </summary>
        /// <param name="putDto">官网业务标记码信息</param>
        /// <param name="adminDto">管理员信息</param>
        WebsiteBusinessTagcodeDto Update(WebsiteBusinessTagcodePutDto putDto, AdminDto adminDto);
        /// <summary>
        /// 删除官网业务标记码
        /// </summary>
        /// <param name="websiteBusinessTagcode">官网业务标记码</param>
        bool Delete(string websiteBusinessTagcode);
        /// <summary>
        /// 获取官网业务标记码
        /// </summary>
        /// <param name="websiteBusinessTagcode">官网业务标记码</param>
        WebsiteBusinessTagcodeDto Get(string websiteBusinessTagcode);
        /// <summary>
        /// 获取官网业务标记码列表
        /// </summary>
        IEnumerable<WebsiteBusinessTagcodeDto> GetList();
        /// <summary>
        /// 获取官网业务标记码分页列表
        /// </summary>
        /// <param name="start">开始时间</param>
        /// <param name="end">结束时间</param>
        /// <param name="sortName">排序字段</param>
        /// <param name="ascending">升序</param>
        /// <param name="pageIndex">当前页码</param>
        /// <param name="pageSize">官网业务标记码每页数据条数</param>
        PageableList<WebsiteBusinessTagcodeDto> Query(DateTime? start, DateTime? end, string sortName, bool? ascending, int pageIndex, int pageSize);
        /// <summary>
		/// 启用官网业务标记码
		/// </summary>
		/// <param name="websiteBusinessTagcode">官网业务标记码</param>
		bool Enabled(string websiteBusinessTagcode);
        /// <summary>
        /// 禁用官网业务标记码
        /// </summary>
        /// <param name="websiteBusinessTagcode">官网业务标记码</param>
        bool Disabled(string websiteBusinessTagcode);
        #endregion  成员方法
    }
}